package com.bike.entity;

public class SysDictionaries {
	 private Long dictionariesId; 
	 private String name; 
	 private Long parentId; 
	 private String parentCode; 
	 private String dicCode; 
	 private Integer addTime; 
	 private Integer status; 
	 
	 
	  public long getId() {
			return dictionariesId;
		}

		public long getPid() {
			return parentId;
		}

		public String getState() {
			if(parentId==0){
				return "closed";
			}
			return "open";
		}

		public String getText() {
			return name;
		}
    public Long getDictionariesId() {
        return dictionariesId;
    }
     public void setDictionariesId(Long dictionariesId) {
        this.dictionariesId = dictionariesId;
    }
    public String getName() {
        return name;
    }
     public void setName(String name) {
        this.name = name;
    }
    public Long getParentId() {
        return parentId;
    }
     public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
    public String getParentCode() {
        return parentCode;
    }
     public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }
    public String getDicCode() {
        return dicCode;
    }
     public void setDicCode(String dicCode) {
        this.dicCode = dicCode;
    }
    public Integer getAddTime() {
        return addTime;
    }
     public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }
    public Integer getStatus() {
        return status;
    }
     public void setStatus(Integer status) {
        this.status = status;
    }
}